-- GENERATED SPELL FOR [Gibblesnik] --


function spell0_14427(pUnit, Event) --@Sunder Armor,n/a--
pUnit:FullCastSpellOnTarget(11971,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_14427', 30312, 1)
end

function Sorts_14427(pUnit, Event)
local choix_sorts_14427 = math.random(0, 0)
if choix_sorts_14427 == 0 then
pUnit:RegisterEvent('spell0_14427', 1, 1)
end
end

function mob14427_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_14427', math.random(1500, 3000), 1)
end

function mob14427_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14427_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14427_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(14427, 1, 'mob14427_Action')
RegisterUnitEvent(14427, 2, 'mob14427_Leave')
RegisterUnitEvent(14427, 3, 'mob14427_Kill')
RegisterUnitEvent(14427, 4, 'mob14427_Die')
